<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN" manifest="/misc/wei_cache_new.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<link rel="stylesheet" type="text/css" href="${ctxStatic }/shopping/singlePage/NewsMuBan/css/list.css" />
<title>优惠券</title>
</head>
<style>

</style>
<body>
<c:forEach items="${map }" var="couponMap" >
		<div class="xianl">
		    <div class="jinri" style="margin-top:10px;"  >${fn:substring(couponMap.key,0,5) }</div></div>
		<div class="banner">
		    <ul class="product"> 
		    	<c:forEach items="${couponMap.value }" var="coupon" >
		  			 <li style="margin-bottom:20px;"  > 
				        <a href="${ctxFront}/member/coupon?uid=${uid}&wechatId=${wechatId}&couponConfigID=${coupon.id}&flag=1"> 
				          <img src="${ctxUser}/score/${coupon.show_pic}"  onerror="this.src='${ctxStatic}/images/zanwutupian.jpg'"  ></a> 
				        <div style="width:100%;clear:both;padding-top:2px;">
				         <span class="bt">${fn:substring(coupon.name, 0, 9)}</span> 
				        <a  href="${ctxFront}/member/coupon?uid=${uid}&wechatId=${wechatId}&couponConfigID=${coupon.id}&flag=1" >  <span class="buy"   onclick="${ctxFront}/member/coupon?uid=${uid}&wechatId=${wechatId}&couponConfigID=${coupon.id}&flag=1"   >立即获取</span> </a>
				         </div>
			      </li>
		    	</c:forEach>
		    </ul>
		</div>

</c:forEach>
<!-- 
<div class="banner">
  <input name="" type="button" value="查看全部商品" class="allbtn">
</div>
 -->
</body>
</html>

